package spring.Test;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

import java.beans.Transient;

/**
 * Project: tobe-better-coder
 * Package: spring.Test
 *
 * @author : Mr.xu
 * @date : 2023/5/10 9:00
 */
@Aspect
@Component
public class XuxinAspect {

    @After("execution(public void spring.beanTest.User.test())")
    public void testAspect() {
        System.out.println("执行到了切面中的方法");
    }
}